<%@ page language="java" contentType="text/html; charset=utf-8"
    pageEncoding="utf-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>客户列表</title>
</head>
<body>
    <table border="1" width="20%">
        <tr>
            <th>id</th>
            <th>姓名</th>
            <th>年龄</th>
        </tr>
        <c:forEach items="${custList2}" var="cust">
            <tr>
                <td>${cust.custId}</td>
                <td>${cust.name}</td>
                <td>${cust.age}</td>
            </tr>
        </c:forEach>
    </table>
</body>
</html>